package com.cmttinfo.activiti.controller;


import com.cmttinfo.activiti.service.SysuserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author shuyan
 * @since 2020-08-16
 */
@RestController
@RequestMapping("/sysuser")
@Api(value = "用户controller测试",description = "用户controller测试")
public class SysuserController {

    @Resource
    SysuserService sysuserService;

    @ApiOperation(value = "展示信息", notes = "展示信息")
    @GetMapping("showUser")
    public String showUser(){
        return sysuserService.list().toString();
    }
}

